home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
batch
/
TSBAT35.ARJ
/
ZIPDATE.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-07-09
|
909b
|
38 lines
echo off
echo.
echo ┌─────────────────────────────────────────────────────────────┐
echo │ Datestamp a .zip package date to latest file │
echo │ By Prof. Timo Salmi, ts@chyde.uwasa.fi, Tue 9-Jul-1991 │
echo └─────────────────────────────────────────────────────────────┘
echo.
if not exist c:\tools\pkzip.exe goto _err1
if not "%1"=="" goto _next
echo Usage ZIPDATE filename1.zip [filename2.zip] [...]
echo.
echo Wildcards are allowed.
echo.
echo Before using for the first time, adjust the paths as appropriate.
echo If you do not have a ramdisk on r:\, also alter line pkzip -br:\ «-- ...
goto _out
:_next
if "%1"=="" goto _out
if not exist %1 goto _err2
for %%f in (%1) do pkzip -br:\ -o -d %%f notinzip.$$$
dir %1
shift
goto _next
:_err1
Echo File c:\tools\pkzip.exe not found
goto _out
:_err2
Echo File %1 not found
goto _out
:_out
echo on